package org.kardigen.lg.service.client.requestfactory;

import java.util.List;

import org.kardigen.lg.service.client.proxy.TrainingChapterProxy;
import org.kardigen.lg.service.client.proxy.TrainingProxy;

import com.google.gwt.requestfactory.shared.Request;
import com.google.gwt.requestfactory.shared.RequestContext;
import com.google.gwt.requestfactory.shared.ServiceName;

@ServiceName("org.kardigen.lg.service.server.TrainingRequestService")
public interface TrainingRequestContext extends RequestContext {

	Request<List<TrainingProxy>> findAllTrainings();

	Request<TrainingProxy> saveTraining(TrainingProxy trainingProxy);

	Request<TrainingChapterProxy> saveChapter(TrainingChapterProxy parent);

}
